package com.panda.mall.wares.brand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.panda.mall.common.mallWares.entity.MallGoodsBrand;

import java.util.List;

/**
* @author tucy123
* @description 针对表【mall_goods_brand(品牌表)】的数据库操作Service
* @createDate 2023-02-22 09:10:01
*/
public interface MallGoodsBrandService extends IService<MallGoodsBrand> {

    /**
     * 新增或修改品牌
     * @param mallGoodsBrand
     * @return
     */
    String saveOrUpdateBrand(MallGoodsBrand mallGoodsBrand);

    /**
     * 查询品牌
     * @return
     */
    List<MallGoodsBrand> queryBrand();

    /**
     * 根据id查询品牌
     * @param id
     * @return
     */
    List<MallGoodsBrand> queryBrandById(String id);

    /**
     * 根据id删除品牌
     * @param id
     * @return
     */
    Boolean deleteBrandById(String id);
}
